.ui-color {
    position: fixed;
    z-index: 2024;
    display: none;
    width: 260px;
    box-sizing: border-box;
    border-radius: 6px;
    padding: 12px 0;
    background-color: #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 4px 6px 2px rgba(0, 0, 0, 0.04), 0 6px 32px 2px rgba(0, 0, 0, 0.16);
}

.ui-color-contents {
    padding: 0 12px;
}

.ui-color-panel {
    width: 100%;
    height: 144px;
    display: flex;
    justify-content: space-between;
}

.ui-color-none {
    width: 100%;
    font-size: 12px;
    padding: 2px 0;
    text-align: center;
    border-radius: 2px;
    margin-bottom: 5px;
    color: rgba(0, 0, 0, 0.64);
    border: 0.5px solid rgba(0, 0, 0, 0.12);
    cursor: pointer;
}

.ui-color-none:hover {
    background: rgba(0, 0, 0, 0.04);
}

.ui-color-tr {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.ui-color-standard {
    display: flex;
    justify-content: space-around;
}

.ui-color-td {
    display: inline-block;
    width: 20px;
    height: 20px;
    cursor: pointer;
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 2px;
    position: relative;
}

.ui-color-td:hover::before {
    position: absolute;
    content: '';
    border: 0.5px solid #838383;
    background: transparent;
    width: 20px;
    height: 20px;
    transform: translate(-5%, -3%) scale(1.2);
}

.ui-color-common {
    display: flex;
    justify-content: space-around;
}

.ui-color-tip {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.4);
    margin: 7px 0;
}

.ui-color-more {
    display: flex;
    justify-content: space-between;
    margin-top: 7px;
    color: rgba(0, 0, 0, 0.88);
    align-items: center;
    font-size: 12px;
    padding: 7px 12px;
    cursor: pointer;
}

.ui-color-more:hover {
    background-color: rgba(51, 77, 102, 0.06);
}

#ui-color-more-open:hover #ui-pickerc {
    display: block !important;
}

.ui-color-more.icon-caret-right {
    font-size: 10px;
    color: rgba(0, 0, 0, 0.88);
}

.ui-color-more-left {
    display: flex;
    align-items: center;
}

/* pickerc */
.ui-pickerc {
    position: fixed;
    z-index: 2024;
    display: none;
}

.ui-pickerc-content {
    padding: 10px;
    border-radius: 3px;
    background-color: #fff;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.12);
}

.ui-pickerc-panel {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.ui-pickerc-panel-left {
    width: 280px;
    height: 180px;
    margin-right: 10px;
    position: relative;
    background-color: rgb(0, 125, 255);
}

.ui-pickerc-panel-left::before {
    width: 100%;
    height: 100%;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
}

.ui-pickerc-panel-left::after {
    width: 100%;
    height: 100%;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, #000, rgba(0, 0, 0, 0));
}

.ui-pickerc-panel-left-cursor {
    position: absolute;
    z-index: 2;
    top: 40px;
    right: 40px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    box-shadow: 0 0 0 1.5px #fff, inset 0 0 1px 1px #0000004d, 0 0 1px 2px #0006;
    transform: translate(2px, -2px);
}



.ui-pickerc-silder {
    position: relative;
    box-sizing: border-box;
    width: 12px;
    height: 180px;
    background-image: linear-gradient(to bottom,
            #ff0000 0%,
            #ff9a00 10%,
            #ccff00 20%,
            #33ff00 30%,
            #00ff67 40%,
            #00ffff 50%,
            #0066ff 60%,
            #3300ff 70%,
            #cc00ff 80%,
            #ff0099 90%,
            #ff0000 100%);
    padding: 0 2px;
    float: right;
}

.ui-pickerc-silder-thumb {
    position: absolute;
    box-sizing: border-box;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    border-radius: 1px;
    background: #fff;
    border: 1px solid #ebeef5;
    box-shadow: 0 0 2px #0009;
    z-index: 1;
    transform: translate(0, -2px);
}

.ui-pickerc-pellucidity {
    position: relative;
    box-sizing: border-box;
    width: 280px;
    height: 12px;
    margin-bottom: 10px;
    background-image: linear-gradient(45deg, #ccc 25%, transparent 25%), linear-gradient(135deg, #ccc 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #ccc 75%), linear-gradient(135deg, transparent 75%, #ccc 75%);
    background-size: 12px 12px;
    background-position: 0 0, 6px 0, 6px -6px, 0 6px;
}

.ui-pickerc-pellucidity-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to right, rgba(12, 244, 115, 0) 0%, rgb(12, 244, 115) 100%);
}

.ui-pickerc-pellucidity-thumb {
    position: absolute;
    box-sizing: border-box;
    right: 0;
    top: 0;
    width: 4px;
    height: 100%;
    border-radius: 1px;
    background: #fff;
    border: 1px solid var(--el-border-color-lighter);
    box-shadow: 0 0 2px #0009;
    z-index: 1;
    transform: translate(2px, 0);
}

.ui-pickerc-footer {
    display: flex;
    justify-content: space-between;
}

.ui-pickerc-footer>input {
    color: #606266;
    height: 22px;
    padding: 0 5px;
    outline: none;
    border-radius: 3px;
    border: 1px solid #dcdfe6;
    box-sizing: border-box;
    font-size: 12px;
}

.ui-pickerc-footer>input::placeholder {
    padding: 0 5px;
}

.ui-pickerc-footer-right {
    display: flex;
}

.ui-pickerc-footer-confirm,
.ui-pickerc-footer-reset {
    cursor: pointer;
    padding: 0 5px;
    color: #606266;
    border-radius: 3px;
    background-color: #f5f7fa;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ui-pickerc-footer-reset:hover {
    background-color: #bae7ff;
}

.ui-pickerc-footer-board {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    margin-right: 8px;
}

.ui-pickerc-footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ui-pickerc-footer-bg::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, #ccc 25%, transparent 25%),
        linear-gradient(135deg, #ccc 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #ccc 75%),
        linear-gradient(135deg, transparent 75%, #ccc 75%);
    background-size: 12px 12px;
    background-position: 0 0,
        6px 0,
        6px -6px,
        0 6px;
}

.ui-pickerc-footer .ui-pickerc-footer-confirm {
    margin-left: 10px;
    color: #fff;
    background-color: #1890ff;
}

.ui-pickerc-footer .ui-pickerc-footer-confirm:hover {
    background-color: #40a9ff;
}